package com.zjitc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/3/19 14:10
 * @description:
 */
@Controller
public class HelloController {

  /**
   * 处理处理请求的url应该是: localhost:8080/app/hello
   */
  @RequestMapping("/hello")
  public void handler() {
    System.out.println("get your message use hello controller");
  }
}
